core: Add context when we fail to chmod()/chown()
authorColin Walters <walters@verbum.org>
Thu, 19 Jul 2012 15:01:39 +0000 (11:01 -0400)
committerColin Walters <walters@verbum.org>
Thu, 19 Jul 2012 15:01:39 +0000 (11:01 -0400)
commita310eb861b983f437d584eda424011aeaf41ecb0
tree57b02fa6b356bcaffd38601b78c7eb69597f56de
parent0d86702115fa71d5140009072a1a20109fe92f63
core: Add context when we fail to chmod()/chown()

This helps make things less confusing when we try to create a file not
owned by our uid, such as running ostree-pull as non-root on a
repository owned by root.
src/libostree/ostree-core.c